package data;

public class SimpleStatement implements Statement {
	
	private URI sub;
	private URI pred;
	private URI obj;
	public SimpleStatement(URI sub, URI pred, URI obj)
	{
		this.sub= sub;
		this.pred= pred;
		this.obj= obj;
	}
	public String toString()
	{
		return sub.toString()+" "+pred.toString()+" "+obj.toString()+".\n";
	}
	public String toString1()
	{
		return sub.toString1()+" "+pred.toString1()+" "+obj.toString1()+".\n";
	}
	@Override
	public URI getObject() {
		return obj;
	}

	@Override
	public URI getPredicate() {
		return pred;
	}

	@Override
	public URI getSubject() {
		return sub;
	}
	
}
